<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://localhost" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://localhost" elementFormDefault="qualified">
  <xs:element name="provider">
    <xs:annotation>
      <xs:documentation xml:lang="ro">Structura datelor de personalizare pentru aplicaţiile de raportare pentru furnizorii de servicii de urgenţă (staţii de ambulanţă)</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="addresses">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Lista de adrese ale furnizorului</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="address" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Adresa furnizorului</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="cityCode" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Localitatea (valoarea codului din nomenclatorul de localităţi)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="districtCode" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Judeţul (valoarea codului din nomenclatorul de judeţe)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="streetName" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Numele străzii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="streetNo" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Numărul străzii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="building" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Blocul / Clădirea</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="entrance" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Scara / Intrarea</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="floor" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Etajul</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="apartment" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Apartamentul / Camera</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="postalCode" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul poştal</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="contracts">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Lista de contracte</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="contract" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Datele de identificare ale contractului</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="contractNo" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Numărul contractului</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="40" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="contractDate" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data contractului</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="orgUnitCode" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Casa de asigurări cu care s-a încheiat contractul (valoarea codului din nomenclatorul de case de asigurări)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="companyCode" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul de identificare unic al furnizorului</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="categoryCode" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul categoriei de furnizor</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="contractType" type="xs:string" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Tipul ce contract al furnizorului</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="employees">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Lista de angajaţi (medici şi asistenţi)</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="employee" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Datele de identificare ale angajatului</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="specialities" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation xml:lang="ro">Lista specialităţilor angajatului</xs:documentation>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="speciality" minOccurs="0" maxOccurs="unbounded">
                            <xs:annotation>
                              <xs:documentation xml:lang="ro">Specialitatea angajatului, dacă acesta este medic</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                              <xs:attribute name="code" use="required">
                                <xs:annotation>
                                  <xs:documentation xml:lang="ro">Codul din nomenclatorul de specialităţi medicale</xs:documentation>
                                </xs:annotation>
                                <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                    <xs:maxLength value="20" />
                                  </xs:restriction>
                                </xs:simpleType>
                              </xs:attribute>
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="pid" type="pidType" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">CNP</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="firstName" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Prenumele persoanei</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="40" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="lastName" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Numele de familie persoanei</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="40" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="stencilNo" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul de parafă al medicului</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="6" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
				<xs:element name="conventions" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="ro">Lista de convenţii de eliberare de certificate medicale</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="convention" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation xml:lang="ro">Datele convenţiei</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="physicians">
											<xs:annotation>
												<xs:documentation xml:lang="ro">Lista medicilor de pe convenţie</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="physician" minOccurs="0" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation xml:lang="ro">Datele medicului</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="stencilNo" type="xs:string" use="required">
																<xs:annotation>
																	<xs:documentation xml:lang="ro">Codul de parafă al medicului</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="conventionNo" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Numărul convenţiei</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="conventionDate" type="xs:date" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Data de încheiere a convenţiei</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="validFrom" type="xs:date" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Data de inceput a valabilităţii convenţiei</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="validTo" type="xs:date" use="optional">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii convenţiei</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="orgUnitCode" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Casa de asigurări cu care s-a încheiat convenţia (valoarea codului din nomenclatorul de case de asigurări)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
        <xs:element name="stations" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Lista de staţii pentru vehicule</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="station" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Datele unei staţii pentru vehicule</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul staţiei</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="name" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea staţiei</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="vehicles" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Lista vehiculelor</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="vehicle" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Datele unui vehicul</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul vehiculului (număr de înmatriculare)</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="name" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumriea vehicului (marca)</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="description" type="xs:string" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Descrierea vehiculului</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="typeCode" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul tipului de vehicul (valoarea din nomenclatorul de tipuri de vehicule)</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="stationCode" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul staţiei de care aparţine vehiculul</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="vehicleTypeTariffs" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Lista tarifelor contractate pe tipuri de vehicule</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="vehicleTypeTariff" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Tarif contractat pe tipul de vehicul</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="typeCode" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul tipului de vehicul (valoare din nomenclatorul de tipuri de vehicule)</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="contractedUrban" type="xs:decimal" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Valoarea contractată în mediul urban</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="contractedRural" type="xs:decimal" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Valoarea contractată în mediul rural</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="contractedTariff" type="xs:decimal" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Tariful total contractat</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
									<xs:attribute name="adjustCoeff" type="xs:decimal" use="optional">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Coeficient de ajustare corespunzător timpilor de aşteptare contractaţi</xs:documentation>
										</xs:annotation>
									</xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="vehicleTypeTariffEmergs" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Lista tarifelor contractate pentru urgenţe</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="vehicleTypeTariffEmerg" maxOccurs="unbounded" minOccurs="0">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Tarif contractat pentru urgenţă</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="emergCategCode" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul categoriei de urgenţă medicală</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="typeCode" type="xs:string" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul tipului de vehicul</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="tarrif" type="xs:decimal" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Valoarea tarifului contractat</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="noReq" type="xs:decimal" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Numărul de urgenţe necesar</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
									<xs:attribute name="waitingTime" type="xs:decimal" use="optional">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Timpul de aşteptare contractat (exprimat în minute)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <!-- header attributes -->
      <xs:attribute name="code" use="required">
        <xs:annotation>
          <xs:documentation xml:lang="ro">Codul de identificare unic al furnizorului în SIUI</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:maxLength value="20" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="name" use="required">
        <xs:annotation>
          <xs:documentation xml:lang="ro">Denumirea furnizorului</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:maxLength value="100" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="uic" use="required">
        <xs:annotation>
          <xs:documentation xml:lang="ro">Codul unic de identificare al furnizorului (cod fiscal)</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:maxLength value="20" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="uicDate" type="xs:date" use="optional">
        <xs:annotation>
          <xs:documentation xml:lang="ro">Data de eliberare a codului unic de identificare</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="regNo" use="optional">
        <xs:annotation>
          <xs:documentation xml:lang="ro">Numărul de înregistrare la Registrul Comerţului</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:maxLength value="20" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="regNoDate" type="xs:date" use="optional">
        <xs:annotation>
          <xs:documentation xml:lang="ro">Data înregistrării la Registrul Comerţului</xs:documentation>
        </xs:annotation>
      </xs:attribute>
			<xs:attribute name="attorney" use="optional">
				<xs:annotation>
					<xs:documentation xml:lang="ro">Reprezentantul legal al furnizorului de dispozitive medicale.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="100" />
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name="pidType">
    <xs:annotation>
      <xs:documentation xml:lang="ro">Definitia tipului de date folosit pentru CNP</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:maxLength value="13" />
      <xs:minLength value="13" />
      <xs:pattern value="[0-9]{13}" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>